package com.luna.beans;

public class Message {

    private int id;
    private int book_id;
    private int user_id;

    public Message(int id, int book_id, int user_id) {
        this.id = id;
        this.book_id = book_id;
        this.user_id = user_id;
    }

    public Message() {}

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getBook_id() {
        return book_id;
    }

    public void setBook_id(int book_id) {
        this.book_id = book_id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    @Override
    public String toString() {
        return "Message{" +
                "id=" + id +
                ", book_id=" + book_id +
                ", user_id=" + user_id +
                '}';
    }
}
